A Boolean value that indicates whether the accessibility option to invert colors is in an enabled state.
shared AccessibilityDisplayShouldInvertColors() as BooleanIf this property’s value is True, the system inverts the display. In this case, you may need to adjust your app’s drawing for optimal display.
This function did not exists before macOS 10.12 and will return false on older systems